package com.gp.study.mybatis.mapper;

import com.gp.study.mybatis.annotation.Entity;

@Entity
public class User {
	
	private int id;
	private String name;
	private  int age ;
	public String getName() {
		return name;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	@Override
	public String toString() {
		return this.getClass().getSimpleName()+"["+id+","+name+","+age+"]";
	}

}
